﻿using System;
using System.Collections.Generic;
using System.CodeDom.Compiler;
using System.Text;

namespace SWF
{
    public struct BackgroundColorTag : ISwfTag
    {
        public const TagType tagType = TagType.BackgroundColor;
        public TagType TagType { get { return tagType; } }

        public RGBA Color;

        public BackgroundColorTag(SwfReader r)
        {
            this.Color = new RGBA(r.GetByte(), r.GetByte(), r.GetByte(), 0xFF);
        }
    }
}
